package com.nhim.cms.admin.shared;

import java.io.Serializable;
import java.util.List;

public class CustomWidgetPropertyProxy implements Serializable {
	 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
		
     /**
      * @return Name of setter
      */
     public String getName()
     {
         return name;
     }
     public void setName(String name)
     {
     	this.name = name;
     }

     private String description;
		
     /**
      * @return setter which will be used as the label
      */
     public String getDescription()
     {
        return description;
     }
     
     public void setDescription(String description)
     {
     	this.description = description;
     }

     private String dataType;
		
     public String getDataType()
     {
         return dataType;
     }
     public void setDataType(String dataType)
     {
     	this.dataType = dataType;
     }

     private String displayType;
		
     public String getDisplayType()
     {
     	return displayType;
     }
     public void setDisplayType(String displayType)
     {
     	this.displayType = displayType;
     }
    
     private List<String> displayValues;
	
     public List<String> getDisplayValues()
     {
         return displayValues;
     }
     
     public void setDisplayValues(List<String> values)
     {
     	this.displayValues = values;
     }
     
     public enum EDisplayType
     {
			
         Textbox,
			
         Textarea,
			
         DateTime,
			
         Combobox,
         
         RadiobuttonList,
         
         CheckboxList,

         Listbox,
		
     }
     public enum EDataType
     {
     	String,
     	Integer,
     	Float,
     	Boolean,
     	DateTime,
     }
     
 	public CustomWidgetPropertyProxy(String name, String dataType, String description, String displayType, List<String> displayValues)
		{
			this.name = name;
			this.dataType = dataType;
			this.description = description;
			this.displayType = displayType;
			this.displayValues = displayValues;
		}
 	public CustomWidgetPropertyProxy()
 	{
 		
 	}

}
